<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--CDN引入方式-->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<div id="app_bind">
    <h1 v-bind:title="my_title">{{msg}}</h1>
    <!--v-bind:title    ==>          :title -->
    <h1 :title="my_title">{{msg}}</h1>
    <h2 :style="ys" :title="my_title">你好， 世界</h2>

    <a :href="url">百度一下</a>
</div>

</body>

<script type="application/javascript">
    // 创建Vue对象
    var vm = new Vue({
        el: "#app_bind",
        data: {
            msg: "Hello Vue!",
            my_title: "来自绑定数据",
            ys: "color: red;",
            url: "https://www.baidu.com"
        }
    });
</script>

</html>